projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1497d4a
)
luci-app-samba: add "Browsable" checkbox to the "Network Shares" page for each share
author
fantom-x
<
[email protected]
>
Sat, 29 Apr 2017 20:53:08 +0000
(16:53 -0400)
committer
fantom-x
<
[email protected]
>
Sat, 29 Apr 2017 20:53:08 +0000
(16:53 -0400)
Signed-off-by: Marc Benoit
[email protected]
applications/luci-app-samba/luasrc/model/cbi/samba.lua
patch
|
blob
|
history
diff --git
a/applications/luci-app-samba/luasrc/model/cbi/samba.lua
b/applications/luci-app-samba/luasrc/model/cbi/samba.lua
index 721191a7eed2f4c35434c8e686b81abef9f8c18e..13abbc1a45f07c15f57eb8c7baafe9cbf8c43599 100644
(file)
--- a/
applications/luci-app-samba/luasrc/model/cbi/samba.lua
+++ b/
applications/luci-app-samba/luasrc/model/cbi/samba.lua
@@
-53,6
+53,12
@@
ro.rmempty = false
ro.enabled = "yes"
ro.disabled = "no"
+br = s:option(Flag, "browseable", translate("Browseable"))
+br.rmempty = false
+br.default = "yes"
+br.enabled = "yes"
+br.disabled = "no"
+
go = s:option(Flag, "guest_ok", translate("Allow guests"))
go.rmempty = false
go.enabled = "yes"